﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using DevExpress.XtraBars.Docking2010.Views;
using DevExpress.XtraBars.Docking2010.Views.WindowsUI;

namespace GUI.DuLieuVaHeThong
{
    public partial class frmThongTin : DevExpress.XtraEditors.XtraForm
    {
        frmNguoiDung frm_nguoidung;
        frmNhaPhatTrien frm_nhaphattrien;
        public frmThongTin()
        {
            InitializeComponent();
            pgeGInfo = new PageGroup();
            wwsUIVThongTin.ContentContainers.Add(pgeGInfo);
            wwsUIVThongTin.Appearance.BackColor = Color.FromArgb(235, 236, 239);

            frm_nguoidung = new frmNguoiDung();
            BaseDocument dnt_nguoidung = wwsUIVThongTin.AddDocument(frm_nguoidung);
            dnt_nguoidung.Image = global::GUI.Properties.Resources._1413964423_doctor;
            dnt_nguoidung.Caption = "Người dùng";
            pgeGInfo.Items.Add(dnt_nguoidung as Document);

            frm_nhaphattrien = new frmNhaPhatTrien();
            BaseDocument dnt_nhaphattrien = wwsUIVThongTin.AddDocument(frm_nhaphattrien);
            dnt_nhaphattrien.Image = global::GUI.Properties.Resources._1413964340_security_policies;
            dnt_nhaphattrien.Caption = "Nhà phát triển";
            pgeGInfo.Items.Add(dnt_nhaphattrien as Document);
        }
    }
}